﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccountUser = NC.DAL.AccountUser;

namespace NC.DAL
{
    public interface IAccountUserRepository
    {
        DataAccountUser RegisterAccountUser(DataAccountUser accountUser);

        DataAccountUser GetAccountUserByActivationCode(string activationCode);

        DataAccountUser GetAccountUserByResetPasswordCode(string resetPasswordCode);

        bool ResetPasswordByAccountUserId(string newPassword, int accountUserId);

        bool ActivateUser(int accountUserId);

        bool IsDuplicateEmail(string email);

        AccountUser GetAccountUserByEmailId(string emailId);

        AccountUser GetAccountUserById(int id);

        bool SaveResetPasswordCode(string resetPasswordCode, int accountUserId);

        bool UpdateAccountUser(DataAccountUser accountUser);

       // AccountUser GetAccountUserByPassResetCode(string resetcode);
    }
}
